﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Web.Mvc;

namespace UnfriendlyFire.Models
{
    public class ExistingUser
    {
        [Required]
        [DataType(System.ComponentModel.DataAnnotations.DataType.EmailAddress)]
        [StringLength(32)]
        public string Email { get; set; }

        [Required]
        [DataType(System.ComponentModel.DataAnnotations.DataType.Password)]
        [StringLength(16)]
        public string Password { get; set; }

        [DisplayName("Stay signed in")]
        public bool StaySignedIn { get; set; }
    }
}